package com.czxy.demo21;

import java.util.HashMap;

public class Test01 {
    public static void main(String[] args) {
        HashMap<String,Double> map = new HashMap<>();
        map.put("柳岩",2100.0);
        map.put("张亮",1700.0);
        map.put("诸葛亮",1800.0);
        map.put("灭绝师太",2600.0);
        map.put("东方不败",3800.0);
        Double ss = map.get("柳岩");
        System.out.println("柳岩的工资："+ss);
        for (String s : map.keySet()) {
            System.out.println(s+" "+map.get(s));
        }
    }
}
